[item for item in x if item not in y] credit to aaronasterling from stackoverflow
>>> z = list(set(x) - set(y)) >>> z [0, 8, 2, 4, 6]